import { View } from "@tarojs/components";
import { useAppSelector } from "../hooks";

export default function Hello() {
  // const num = useSelector((state: RootState) => state.counter.num);

  const num = useAppSelector((state) => state.counter.num);

  return <View>Hello, {num}</View>;
}
